<?php

namespace app\index\controller;

use tian\Session;

class Ranking extends Base
{
    public function index()
    {
        try {
            $where = [];
            $where[] = ['isDel', '=', 0];
            $list = model('Role')->getListLimit($where,'ulv desc',50);
            $this->assign('list', $list);

            $this->fetch('index');
        } catch (\Throwable $e) {
            echo $e->getMessage();
        }
    }

}
